/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import dao.QuestionDAO;
import dto.Question;
import java.util.ArrayList;

/**
 *
 * @author PhucAn
 */
public class NewClass {
    public static void add(int id){
        id++;
    }
    public static void main(String[] args) {
     Question q=new Question();
     QuestionDAO daoQ=new QuestionDAO();
     ArrayList<Question> list=daoQ.getQuestions(1,3);
        System.out.println(list.size());
        System.out.println(daoQ.getTotalRecords());
    }
}
